// 钱

#include <iostream>
using namespace std;

enum Coin {
    Coin_pennies,
    Coin_nickels,
    Coin_dimes,
    Coin_quarters,
    Coin_half_dollars,
    Coin_dollars,
};

void ShowCoin(const char* msg, Coin coin);

int main() {
    Coin myMoney = Coin_dimes;
    Coin yourMoney = Coin_quarters;

    ShowCoin("我的钱是: ", myMoney);
    ShowCoin("你的钱是: ", yourMoney);
}

void ShowCoin(const char* msg, Coin coin) {
    cout << msg << coin << ", ";
    switch (coin) {
        case Coin_pennies:
            cout << "Coin_pennies\n";
            break;
        case Coin_nickels:
            cout << "Coin_nickels\n";
            break;
        case Coin_dimes:
            cout << "Coin_dimes\n";
            break;
        case Coin_quarters:
            cout << "Coin_quarters\n";
            break;
        case Coin_half_dollars:
            cout << "Coin_half_dollars\n";
            break;
        case Coin_dollars:
            cout << "Coin_dollars\n";
            break;
    }
}

